<?php
/**
 * Created by PhpStorm.
 * User: zhj
 * Date: 2019/3/29
 * Time: 17:56
 */

namespace app\factory;

use app\commpents\Car;

class Audi implements Car
{
    protected static $car;

    public function setCar($car='')
    {
        self::$car = $car;

    }

    public function getCar()
    {
        echo  self::$car;
    }
}